﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="StorageDetailed.aspx.cs" Inherits="CardLogistics.Web.MainPage.CardArrival.StorageCheck.StorageDetailed" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<%@ Register Src="../../../Controls/WebUserControl_Nav.ascx" TagName="WebUserControl_Nav" TagPrefix="uc1" %>
<%@ Register Src="../../../Controls/WebUserControl_ToolBar.ascx" TagName="WebUserControl_ToolBar" TagPrefix="uc2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>白卡入库明细表</title>
    <link href="../../../css/style.css" rel="stylesheet" type="text/css" />
    <link href="../../../css/selPage.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript" src="../../../js/jquery.js"></script>
    <script src="../../../js/jquery.tipswindow.2.0.js" type="text/javascript"></script>
    <script src="../../../js/valReq.js" type="text/javascript"></script>
    <script src="../../../js/tblistjs.js" type="text/javascript"></script>
    <script src="../../../js/CreateControl.js" type="text/javascript"></script>
    <script src="../../../js/My97DatePicker/WdatePicker.js" type="text/javascript"></script>
    <script type="text/javascript">
        $(document).ready(function () {
            useShims = true;
        })
        //搜索按钮执行函数
        function queryData() {
            var ReportViewer = document.getElementById("ReportViewer");
            var checkId = $("#hid_checkId").val(); //白卡入库单Id
            ReportViewer.Stop();
            var DataURL = encodeURI("StorageDetailedRpt.aspx?checkId="+checkId);
            ReportViewer.DataURL = DataURL;
            ReportViewer.Start();
        }
    </script>
</head>
<body onload="queryData();">
    <form runat="server" id="f2">
     <asp:HiddenField ID="hid_checkId" runat="server" />
    <div class="rightinfo">
       <!--
        <ul class="seachform">
            <li>
                <label>
                    入库单号</label>
                <input id="CheckNo" runat="server" readonly="readonly" type="text" style="width: 200px;"
                    class="dfinputImg" />
                <asp:HiddenField ID="hf_CheckId" runat="server" />
            </li>
            <li>
                <label>
                    合同编号</label>
                <asp:TextBox ID="txt_PConNo" runat="server" CssClass="scinput" Width="100px"></asp:TextBox>
            </li>
            <li>
                <label>
                    批次号</label>
                <asp:TextBox ID="txt_BatchNo" runat="server" CssClass="scinput" Width="100px"></asp:TextBox>
            </li>
            <li>
                <label>
                    供应商</label>
                <select name="ddlsupName" id="ddlsupName" class="dfinput" runat="server" style="width: 100px;">
                </select>
            </li>
            <li>
                <label>
                    入库日期</label>
                <asp:TextBox ID="txt_StartStorageDate" runat="server" CssClass="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                    Width="100px"></asp:TextBox>&nbsp;至
                <asp:TextBox ID="txt_EndStorageDate" runat="server" CssClass="Wdate" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd'})"
                    Width="100px"></asp:TextBox>
            </li>
            <li>
                <label>
                    &nbsp;</label>
                <input id="BtnSearch" type="button" class="scbtn" value="查询" onclick="queryData();" />
            </li>
        </ul>
        -->
        <script type="text/javascript">
            var divkuangH = $(window).height();
            var viewH = divkuangH - 117 + 100 - 1;
            CreatePrintViewerEx("100%", viewH, '../../../grf/StorageDetailed-K.grf', "", false);
        </script>
    </div>
    </form>
</body>
</html>
